# -*- encoding=utf8 -*-
__author__ = "Bryan.Chen"

from airtest.core.api import *

auto_setup(__file__)

using("../FlowTest.air")
import FlowTest

testCases = [
    {"moduleName": "Login_WechatLogin", "args": {}},
    {"moduleName": "Login_PopUpActivity", "args": {}},
    {"moduleName": "Login_Guide", "args": {}},
    {"moduleName": "Login_BindPhone", "args": {}},
    {"moduleName": "Login_Questionnaire", "args": {}},
    {"moduleName": "Login_SignIn", "args": {}},

    {"moduleName": "SideMenu_SwitchArea", "args": {"areaName": "云南省"}},
    {"moduleName": "SubGame_EnterGame", "args": {"gameName": "临沧麻将"}},
    {"moduleName": "SubGame_WaitLobbyScene", "args": {}},
    {"moduleName": "SubGame_CreateRoom", "args": {}},
    {"moduleName": "SubGame_WaitToStart", "args": {}},
    {"moduleName": "SubGame_JoinRoom", "args": {}},
    {"moduleName": "SubGame_BackToHall", "args": {}},
]

FlowTest.runTestWithRestart(testCases)


